home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 18 / Developer Source Volume 18 (I-MODE Publications, Inc.)(2000).iso / delph / 831 / coppf102.gif < prev    next >
Graphics Interchange Format  |  1998-10-01  |  24KB  |  321x319  |  4-bit (16 colors)
Labels: text | screenshot | font | number | document
OCR: Mouse Events Standard Graphic Response Left Button Down Show the button in its "pressed" stalo. Left Button Up Show the button in its "highlighted" state or its "pressed" state based on these conditions: If the button is in an inactive ""pressed" state, show the button in its "pressed" state; if the button is not in an inactive "pressed" state, show the button in its "highlighted" state Mouse Enter If the pointer is over the button show the button in its "highlighted" state, then fire the OnClick event. If the cursor isn't over the button, show the button in its "normal" state Mouse Leave Show the button in its "normal" state. If the mouse button is pressed, set a flag to indicate it's in an inactive "pressed" state. Figure 2: Button functionality in terms of mouse events